/*
 * @Author: your name
 * @Date: 2021-01-13 10:24:55
 * @LastEditTime: 2021-01-13 10:29:04
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: /wzry001-auto-js/我爱网.js
 */
var click = require("_click.js");
 // 我爱网 一键签到
click.init("我爱网 脚本");
click.launchPackage("打开‘我爱网’并等待一段时间", "com.qqwaw.Phoneix");
//签到
click.findByUiObjer("android.view.View","drawingOrder_click",[1,13],"press")

// //QQ一建签到
// click.findByUiObjer("android.widget.Button","text","一键签到","click");
// //等待一分钟签到完成
// sleep(60000)
// back();
// log("QQ一建签到完成");
//王者荣耀签到
click.findByUiObjer("android.widget.Button","text","王者荣耀一键签到","click");
//等待一分钟签到完成
sleep(60000)
back();
log("王者荣耀签到完成");

click.exit_current_app("关闭我爱网")